import random

puke = [
    {"A": {"num": 1}},
    {"2": {"num": 2}},
    {"3": {"num": 3}},
    {"4": {"num": 4}},
    {"5": {"num": 5}},
    {"6": {"num": 6}},
    {"7": {"num": 7}},
    {"8": {"num": 8}},
    {"9": {"num": 9}},
    {"10": {"num": 10}},
    {"J": {"num": 0.5}},
    {"Q": {"num": 0.5}},
    {"K": {"num": 0.5}},
    {"JO": {"num": 0.5}},
    {"jo": {"num": 0.5}},
]


def Play():
    Score = 0
    while True:
        rand = random.choice(puke)
        num = [i for i in rand.keys()][0]
        Score += rand[str(num)]['num']
        if Score > 11:
            print("you lose! Score:", Score)
            break
        print("Got num: {},score: {}".format(num, Score))
        cmd = input("continue? (y/n)")
        if cmd in ("Y", "y"):
            continue
        else:
            print("You Score: ", Score)
            break


if __name__ == "__main__":
    # Play()
    day = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
    [print("{}:{}".format(i+1,day[i])) for i in range(len(day))]
